/*******************************************************************************
 * Package: com.hngtrust.iir.risk.controller.dto
 * Type:    HomePageNewsRespVO
 * Date:    2021/4/6 16:39
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.risk.controller.dto;

import com.hngtrust.clickhouse.news.dto.HostCompDTO;
import com.hngtrust.clickhouse.news.dto.NewsSourceDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 首页新闻响应
 *
 * @author Keqiwei
 * @date 2021/4/6 16:39
 */
@ApiModel(description = "首页新闻响应")
@Data
public class HomePageNewsRespVO {
    @ApiModelProperty(value = "监控公司数")
    private Long countComp;
    
    @ApiModelProperty(value = "新闻全部动态")
    private BigDecimal countAll;
    /**
     * 消极
     */
    @ApiModelProperty(value = "消极")
    private BigDecimal negative;
    
    @ApiModelProperty(value = "消极百分比")
    private String negativeRatio;
    
    /**
     * 中立
     */
    @ApiModelProperty(value = "中立")
    private BigDecimal neutral;
    
    @ApiModelProperty(value = "中立百分比")
    private String  neutralRatio;
    
    /**
     * 积极
     */
    @ApiModelProperty(value = "积极")
    private BigDecimal positive;
    
    @ApiModelProperty(value = "积极百分比")
    private String positiveRatio;
    
    @ApiModelProperty(value = "新闻来源top10")
    private List<NewsSourceDTO> newsSource;
    
    @ApiModelProperty(value = "热点公司top5")
    private List<HostCompDTO> comps;
    
}
